(function(){"use strict";BX.namespace("BX.Landing.UI.Form");BX.Landing.UI.Form.CardForm=function(t){BX.Landing.UI.Form.BaseForm.apply(this,arguments);this.layout.classList.add("landing-ui-form-card");this.labelBindings=t.labelBindings;this.preset=t.preset;this.oldIndex=this.selector.split("@")[1]};BX.Landing.UI.Form.CardForm.prototype={constructor:BX.Landing.UI.Form.CardForm,__proto__:BX.Landing.UI.Form.BaseForm.prototype,serialize:function(){return this.fields.reduce(function(t,r){return t[r.selector.split("@")[0]]=r.getValue(),t},{})},getPreset:function(){return this.preset||null}}})();